From: Michael Albinus Date: Thu, 9 Apr 2009 13:40:19 +0000 (+0000) Subject: * tramp-cache.el (tramp-flush-directory-property): Use the X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~421^2~908 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=92f8022404e85c716f8df5fd42738b7ee9132fa7;p=emacs.git * tramp-cache.el (tramp-flush-directory-property): Use the localname of KEY for check. --- diff --git a/lisp/net/tramp-cache.el b/lisp/net/tramp-cache.el index 00e70aa79dd..8a42a3ff746 100644 --- a/lisp/net/tramp-cache.el +++ b/lisp/net/tramp-cache.el @@ -138,7 +138,7 @@ Remove also properties of all files in subdirectories." (tramp-message vec 8 "%s" directory) (maphash '(lambda (key value) - (when (and (stringp key) + (when (and (stringp (tramp-file-name-localname key)) (string-match directory (tramp-file-name-localname key))) (remhash key tramp-cache-data))) tramp-cache-data)))